home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000380_mjb@jobsoft.com_Fri Sep 3 11:33:36 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
  2. From: "Mark J. Bailey" <mjb@jobsoft.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: How do I script-->interactive "CONNECT"-->script?
  5. Date: Fri, 3 Sep 2004 06:58:13 -0500
  6. Organization: Posted via Supernews, http://www.supernews.com
  7. Message-ID: <10jgmo6sl6bjf0a@corp.supernews.com>
  8. X-Priority: 3
  9. X-MSMail-Priority: Normal
  10. X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
  11. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
  12. X-Complaints-To: abuse@supernews.com
  13. Lines: 40
  14. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15147
  15.  
  16. I have a need to kick off a kermit script in ckermit, then, if I see a
  17. certain string pattern I need to go interactive (on the comm stream) and
  18. then switch back to the script when I recognize another string pattern.
  19. What I need to do is have a script run automatically but if the prompt for
  20. the user to change their password is seen, I need to take the session
  21. interactive (typical CONNECT scenario) and allow the user to change their
  22. password with the remote service, and then (ideally) when a "success"
  23. message is seen, resume the script and carry on.  TERM (from Century
  24. Software) has a "TERMINAL" command that does just this.  With HIPAA and
  25. healthcare, many services (insurance companies in particular) require unique
  26. userids and passwords and require they be changed on a pseudo-regular basis
  27. (30-45 days).  Nothing consistent (of course!), so I need to have the script
  28. handle this.  What we do with TERM (in another scenario - and TERM isn't an
  29. option for this situation) is start the TERM script and then when the login
  30. prompt is recognized, we use the TERMINAL command to switch the session
  31. interactive so that the user can login (and change the password should that
  32. pop up during any particular session).  When the remote service main prompt
  33. is recognized, the TERM script resumes immediately after the TERMINAL
  34. command.
  35.  
  36. Thanks!
  37.  
  38. Mark
  39.  
  40. ______________________________________________
  41. Mark J. Bailey        Jobsoft Design and Development, Inc.
  42. 277 Wilson Pike Circle, Suite 105, Brentwood, TN 37027
  43. EMAIL: mjb@jobsoft.com  WEB: http://www.jobsoft.com/
  44. Medimation / CardShot(tm) - http://www.medimation.com/
  45. 615-425-0932x20 FAX:615-425-0935 CELL:615-308-9099
  46.  
  47. CONFIDENTIALITY NOTICE: This email message and any attachments are for the
  48. sole use of the intended recipient(s) and may contain proprietary,
  49. confidential, trade secret or privileged information.  Any unauthorized
  50. review, use, disclosure or distribution is prohibited and may be a violation
  51. of law.  If you are not the intended recipient or a person responsible for
  52. delivering this message to an intended recipient, please contact the sender
  53. by reply email and destroy all copies of the original message.
  54.  
  55.